package com.jshare.dao;

import java.util.List;

import org.springframework.stereotype.Service;

import com.jshare.entity.ArCategory;
@Service("arCategoryDao")
public interface ArCategoryDAO {

	//property constants
	public static final String NAME = "name";
	public static final String PAREND_ID = "parendId";

	public abstract void save(ArCategory transientInstance);

	public abstract void delete(ArCategory persistentInstance);

	public abstract ArCategory findById(java.lang.Integer id);

	public abstract List findByExample(ArCategory instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByName(Object name);

	public abstract List findByParendId(Object parendId);

	public abstract List findAll();

	public abstract ArCategory merge(ArCategory detachedInstance);

	public abstract void attachDirty(ArCategory instance);

	public abstract void attachClean(ArCategory instance);

}